package pc29;

public class J12OOP {

	public static void main(String[] args) {
		J12ExCompany apple;
		apple = new J12ExCompany();

		J12ExCompany google;
		google = new J12ExCompany();
		
		J12ExEmployee k;
		k = new J12ExEmployee();

		J12ExEmployee suji;
		suji = new J12ExEmployee();

		J12Ex3Wine sablis;
		sablis = new J12Ex3Wine();

		J12Ex3Wine bourgogne;
		bourgogne = new J12Ex3Wine();

	}

}

class J12ExCompany {
	String name;
	String dateCreated;

	public void paySalary(String name, int salary) {

	}
}

class J12ExEmployee {
	String name;
	String dateHired;
	int salary;

	public void checkSalary() {
		System.out.println("현재 봉급은");
	}
}

class J12Ex3Wine {
	private String manufacturer;
	private String name;
	private String country;
	private String region;
	private String kind;

	private int year;
	private int grade;
}
